#pragma once
#include "Quote.h"

class Disc_quote :
	public Quote
{
public:
	Disc_quote() = default;
	Disc_quote(const string& book, double price, size_t qty, size_t more, double disc) :Quote(book, price), quantity(qty), more(more), discount(disc) {};
	double net_price(size_t) const = 0;
protected:
	size_t quantity = 0;
	size_t more = 0;
	double discount = 0.0;
};

